import matplotlib.pyplot as plt

input_value = list(range(1,1001))
squares = [x**2 for x in input_value]
plt.scatter(input_value, squares, c = squares, cmap=plt.cm.Blues, edgecolors='none',s=40)
plt.show()
plt.savefig('squares_plot.png',bbox_inches='tight')